Unit 2 Guided Practice 2: Use An “If…Else” Statement

The following program uses an if…else structure.  The program flow is determined by whether or not the “if” condition is true.  If the user’s selection is greater than 0, one line of code prints, and, if not, a different line executes.
Here’s the Flowchart: